package com.cutefool.zero.code.admin.meta.column.rules.invoker;

import com.cutefool.core.kits.util.Times;
import com.cutefool.zero.code.admin.meta.column.dto.SerialOption;

import java.time.LocalDateTime;

public class TimeSerialInvoker implements SerialInvoker {

    public String invoke(String model, SerialOption serialOption) {
        return Times.format(LocalDateTime.now(), serialOption.getRule());
    }
}
